function [output] = dfce_obj(guess, eeta, llambda, nnu, oomega, llambdaf, oomegaf)

%%% Objective for solving SS debt under domestic fringe

b = guess(1);
b_f = guess(2);

% Objective equation

% f2 = nnu * (eeta-1) * (b+b_f)^(eeta-2);
% c2 = oomega * llambda * (b_f)^(llambda-1);
f1 = nnu * (b+b_f)^(eeta-1);
% c1 = oomega * (b+b_f)^(llambda);
% AA = f2 * c2 / (c2 - f2) * (b+b_f) + f1 - oomega * (b)^(llambda);
AA = f1 - oomega * (b)^(llambda);
BB = f1 - oomegaf * (b_f)^(llambdaf);

output = [AA, BB];

end
